package lumis.portal.fileparser;


/**
 * Stores the metadata of a file.
 * 
 * @version $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
 * @since 6.0.0
 */
public class FileMetadata implements IFileMetadata
{
	private Integer height;

	private Integer width;

	private Long duration;

	private String format;

	/**
	 * Creates a new FileMetadata.
	 * 
	 * @since 6.0.0
	 */
	public FileMetadata()
	{
	}

	public Integer getHeight()
	{
		return height;
	}

	/**
	 * Sets the height metadata.
	 * 
	 * @param height the height.
	 * @since 6.0.0
	 */
	public void setHeight(Integer height)
	{
		this.height = height;
	}

	public Integer getWidth()
	{
		return width;
	}

	/**
	 * Sets the width metadata.
	 * 
	 * @param width the width.
	 * @since 6.0.0
	 */
	public void setWidth(Integer width)
	{
		this.width = width;
	}

	public Long getDuration()
	{
		return duration;
	}

	/**
	 * Sets the duration metadata.
	 * 
	 * @param duration the duration.
	 * @since 6.0.0
	 */
	public void setDuration(Long duration)
	{
		this.duration = duration;
	}

	public String getFormat()
	{
		return format;

	}

	/**
	 * Sets the format metadata.
	 * 
	 * @param format the format.
	 * @since 6.0.0
	 */
	public void setFormat(String format)
	{
		this.format = format;
	}
}
